import axios from "axios";

//查询关于我们
export function getPageAbout(){
return axios({
    url:'/pages'
})
}


//查询房产经纪
export function GetAgent(){
return axios({
    url:'/agents'
})
}
//查询房产经纪
export function GetCategory(){
return axios({
    url:'/categories'
})
}


//根据ID查询房产类别下的房子
export function GetCategorydetails(id){
return axios({
    url:`/categories/${id}`
})
}

//查询所有的房产
export function Getproperties(){
return axios({
    url:`/properties?_limit=20&_start=0`
})
}